import api from '@/api'

export function login (username, password) {
	let data = {
		username,
		password
	}
	return api({
		url: '/login',
		method: 'post',
		data
	})
}
